home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Make It Simple
- Date: Mon, 01 Aug 1994 10:58:15 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
- Ofir Gal wrote:
- >
- >I don't think we need application specific stuff. This makes it incredibly
- >difficult to write an app-defs editor.
-
- The per-application stuff I and others have posted about is totally
- identical to global preferences. I'll just explain this part again.
- Say we have lines in the defs file that look like this:
-
- *.selectall.key: ^A
- mydraw.selectall.key: ^X
-
- Then a program "fooedit" would look for lines that match:
-
- fooedit.selectall.key
-
- and find "*.selectall.key: ^A"
-
- The program "mydraw" would search for matches to:
-
- mydraw.selectall.key
-
- and find "*.selectall.key: ^A", then find "mydraw.selectall.key: ^X",
- overwriting the ^A choice.
-
- There is no need to adopt the complicated `sectioned' approach you
- described:
-
- >KEYS
- >*.*.*.*.*.*.
- >etc...
- >
- >DIALOGS
- >*.*.*.*.*.*
- >etc.
-
- as it is far more complex than the simple list-of-lines format that I
- and others have described, and is difficult to extend. The format I
- described is tried-and-tested on X11, and is extremely flexible.
-
- --
- Warwick
-